module.exports = (app, db) => {
    const express = require('express');
    const router = express.Router();
    /**导入routes 模块*/
    require('./api/classify')(router);//分类
    require('./api/note')(router);//笔记
    // require('./api/test')(app, router, assert, utils);//测试功能

    /**app.use 统一管理路由 */
    app.use('/admin', router);//前端调用 http://localhost:3000/admin  后端接口
}